package OceanWorld2;

/**
 * Created by pc on 3/31/16.
 */
public class Helicopter extends Airplane {
    public Helicopter(String name) {
        super(name);
    }

    @Override
    public void fly() {
        System.out.printf("plane %s is flying%n", name);
    }
}
